/**
 * Created by admin on 2018/11/16.
 */
module.exports={
  env:'dev',
  port:'20099',
  mysql:{
    host: '192.168.20.8',
    user: 'web_developer',
    password: 'czkj027',
    database: 'ceshi',
    multipleStatements: true,
    debug: false
  },
  /**
   * log4js 配置文件
   *
   * 日志等级由低到高
   * ALL TRACE DEBUG INFO WARN ERROR FATAL OFF.
   *
   * 关于log4js的appenders的配置说明
   * https://github.com/nomiddlename/log4js-node/wiki/Appenders
   */
  log: {
    appenders:
      {
        // 控制台日志
        out: {
          // 日志类型
          type: 'console'
        },
        everything: {
          type: 'dateFile', filename: 'all-logs.log'
        }
      },
    categories: {
      default: { appenders: ['out'], level: 'DEBUG' }
    }
  }
}